error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT id FROM tags WHERE  )   ORDER BY id DESC ;



Notice: Undefined variable: result in /storage/home/srv37497/noviy-sad.ru/html/classes/db_class.php on line 174

error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT id FROM tags WHERE  )   ORDER BY id DESC ;


error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT COUNT(*) FROM articles p LEFT JOIN articles_rubrics r ON (p.rubric = r.id) WHERE p.published = 1   ;



Notice: Undefined variable: result in /storage/home/srv37497/noviy-sad.ru/html/classes/db_class.php on line 89

error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT COUNT(*) FROM articles p LEFT JOIN articles_rubrics r ON (p.rubric = r.id) WHERE p.published = 1   ;


error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT p.id , p.user , p.time , p.header , p.alias , p.text , p.tags , p.view_count , p.published , p.last_time , p.image_url , r.title , r.pos FROM articles p LEFT JOIN articles_rubrics r ON (p.rubric = r.id) WHERE p.published = 1 GROUP BY p.id  ORDER BY p.view_count DESC LIMIT 0, 10;



Notice: Undefined variable: result in /storage/home/srv37497/noviy-sad.ru/html/classes/db_class.php on line 198

Warning: Invalid argument supplied for foreach() in /storage/home/srv37497/noviy-sad.ru/html/classes/articles_class.php on line 195

error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT p.id , p.user , p.time , p.header , p.alias , p.text , p.tags , p.view_count , p.published , p.last_time , p.image_url , r.title , r.pos FROM articles p LEFT JOIN articles_rubrics r ON (p.rubric = r.id) WHERE p.published = 1 GROUP BY p.id  ORDER BY p.view_count DESC LIMIT 0, 10;


error

Ошибка:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')   ORDER BY id DESC' at line 1
Запрос:
SELECT id , title FROM articles_rubrics WHERE published = 1   ORDER BY pos ASC ;



Notice: Undefined variable: result in /storage/home/srv37497/noviy-sad.ru/html/classes/db_class.php on line 198

Warning: Invalid argument supplied for foreach() in /storage/home/srv37497/noviy-sad.ru/html/classes/articles_class.php on line 440
Статьи и Обзоры